#if !defined(EMOTION_LABLE_ITEM_H__)
#    define EMOTION_LABLE_ITEM_H__

#    pragma once

#    include <module/QClickLabel.h>

#    include <QMovie>

class EmotionLabelItem : public QClickLabel {
    Q_OBJECT

public:
    EmotionLabelItem(QWidget* parent);
    ~EmotionLabelItem();

    void setEmotionName(int emotionName);

private:
    void initControl();

signals:
    void emotionClicked(int emotionNum);

private:
    int     emotionName;
    QMovie* apngMovie;
};

#endif  // EMOTION_LABLE_ITEM_H__
